package com.hwc.demo.dubbo.service.impl;

import java.util.Arrays;
import java.util.List;

import com.hwc.demo.dubbo.bean.UserAddress;
import com.hwc.demo.dubbo.service.UserService;

public class UserServiceImpl implements UserService{

	@Override
	public List<UserAddress> getUserAddressList(Integer userId) {
		System.out.println(">> userId:" + userId);
		UserAddress address = new UserAddress("address01", 1);
		UserAddress address2 = new UserAddress("address02", 1);
		UserAddress address3 = new UserAddress("address04", 1);
		
		return Arrays.asList(address, address2, address3);
	}

}
